package com.maibow.entity.weixin;

/**
 * 微信通用接口凭证
 * 
 * @author zhanglei
 */
public class WeixinTicket {
    private int errcode;

    private String errmsg;

    // 获取到的凭证
    private String ticket;

    // 凭证有效时间，单位：s
    private int expiresIn;

    /**
     * errcode
     *
     * @return the errcode
     * @since 1.0.0
     */

    public int getErrcode() {
        return errcode;
    }

    /**
     * @param errcode
     *            the errcode to set
     */
    public void setErrcode(int errcode) {
        this.errcode = errcode;
    }

    /**
     * errmsg
     *
     * @return the errmsg
     * @since 1.0.0
     */

    public String getErrmsg() {
        return errmsg;
    }

    /**
     * @param errmsg
     *            the errmsg to set
     */
    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    /**
     * ticket
     *
     * @return the ticket
     * @since 1.0.0
     */

    public String getTicket() {
        return ticket;
    }

    /**
     * @param ticket
     *            the ticket to set
     */
    public void setTicket(String ticket) {
        this.ticket = ticket;
    }

    public int getExpiresIn() {
        return expiresIn;
    }

    public void setExpiresIn(int expiresIn) {
        this.expiresIn = expiresIn;
    }
}